﻿package 
{
	import flash.display.*;
	import flash.events.*;
	
	public class Floor extends MovieClip
	{
		public var floorRec:Shape;
		
		public function Floor()
		{
			//new floor reacangle
			floorRec = new Shape();
			floorRec.graphics.beginFill(0x597197); // choosing the colour for the fill  
			floorRec.graphics.drawRect(0,318, 1600,93); // (x spacing, y spacing, width, height)   
			floorRec.graphics.endFill(); // not always needed but I like to put it in to end the fill
						
			//add windows and door into Wall MovieClip
			addChild(floorRec);
		}
		
	}
}